w[0] = c[0] * (species[2]-1)* (species[2]-0)* (species[6]-0);
w[1] = c[1] * (species[8]-0);
w[2] = c[2] * (species[3]-1)* (species[3]-0)* (species[6]-0);
w[3] = c[3] * (species[9]-0);
w[4] = c[4] * (species[2]-0)* (species[3]-0)* (species[6]-0);
w[5] = c[5] * (species[7]-0);
w[6] = c[6] * (species[2]-1)* (species[2]-0)* (species[10]-0);
w[7] = c[7] * (species[12]-0);
w[8] = c[8] * (species[3]-1)* (species[3]-0)* (species[10]-0);
w[9] = c[9] * (species[13]-0);
w[10] = c[10] * (species[2]-0)* (species[3]-0)* (species[10]-0);
w[11] = c[11] * (species[11]-0);
w[12] = c[12] * (species[4]-1)* (species[4]-0)* (species[14]-0);
w[13] = c[13] * (species[16]-0);
w[14] = c[14] * (species[5]-1)* (species[5]-0)* (species[14]-0);
w[15] = c[15] * (species[17]-0);
w[16] = c[16] * (species[4]-0)* (species[5]-0)* (species[14]-0);
w[17] = c[17] * (species[15]-0);
w[18] = c[18] * (species[4]-1)* (species[4]-0)* (species[18]-0);
w[19] = c[19] * (species[20]-0);
w[20] = c[20] * (species[5]-1)* (species[5]-0)* (species[18]-0);
w[21] = c[21] * (species[21]-0);
w[22] = c[22] * (species[4]-0)* (species[5]-0)* (species[18]-0);
w[23] = c[23] * (species[19]-0);
w[24] = c[24] * (species[7]-0);
w[25] = c[25] * (species[9]-0);
w[26] = c[26] * (species[11]-0);
w[27] = c[27] * (species[13]-0);
w[28] = c[28] * (species[15]-0);
w[29] = c[29] * (species[17]-0);
w[30] = c[30] * (species[19]-0);
w[31] = c[31] * (species[21]-0);
w[32] = c[32] * (species[22]-0)* (species[26]-0);
w[33] = c[33] * (species[23]-0)* (species[26]-0);
w[34] = c[34] * (species[24]-0)* (species[27]-0);
w[35] = c[35] * (species[25]-0)* (species[27]-0);
w[36] = c[36] * (species[0]-0);
w[37] = c[37] * (species[1]-0);
w[38] = c[38] * (species[2]-0);
w[39] = c[39] * (species[3]-0);
w[40] = c[40] * (species[4]-0);
w[41] = c[41] * (species[5]-0);
